package com.easy.cloud.web.module.certification.biz.service;

import cn.hutool.core.lang.tree.Tree;
import com.easy.cloud.web.module.certification.api.dto.DisabilityLevelDTO;
import com.easy.cloud.web.module.certification.api.vo.DisabilityLevelVO;

import java.util.List;

/**
 * DisabilityLevel interface
 *
 * @author Fast Java
 * @date 2024-04-02 20:43:33
 */
public interface IDisabilityLevelService {

    /**
     * 新增数据
     *
     * @param disabilityLevelDTO 保存参数
     * @return com.easy.cloud.web.module.certification.biz.domain.vo.DisabilityLevelVO
     */
    DisabilityLevelVO save(DisabilityLevelDTO disabilityLevelDTO);

    /**
     * 更新数据，默认全量更新
     *
     * @param disabilityLevelDTO 保存参数
     * @return com.easy.cloud.web.module.certification.biz.domain.vo.DisabilityLevelVO
     */
    DisabilityLevelVO update(DisabilityLevelDTO disabilityLevelDTO);

    /**
     * 根据ID删除数据
     *
     * @param disabilityLevelId 对象ID
     * @return java.lang.Boolean
     */
    Boolean removeById(String disabilityLevelId);

    /**
     * 根据ID获取详情
     *
     * @param disabilityLevelId 对象ID
     * @return java.lang.Boolean
     */
    DisabilityLevelVO detailById(String disabilityLevelId);

    /**
     * 根据条件获取列表数据
     *
     * @return List<com.easy.cloud.web.module.certification.biz.domain.vo.DisabilityLevelVO> 返回列表数据
     */
    List<Tree<String>> tree(String parentId);
}